package com.quanyan.place.entity.apiresp;

import org.mapdb.Atomic;
import org.springframework.security.authentication.jaas.memory.InMemoryConfiguration;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by youxiaojia on 2016/8/25.
 */
public class RespMemberCardOperate implements Serializable {
    //以及查看详情;  交易明细包含交易时间；交易类型；顾客姓名；会员卡类型；电话；会员卡号；交易金额／次数；操作人
    private Integer id;

    private Date updateTime;//最后操作时间

    private Integer operateType;//交易类型

    private String userName;//顾客姓名

    private String memberCardTypeName;//会员卡类型名称

    private String phone;//电话

    private String memberCardNo;//会员卡号

    private Integer type;//收支类型  1：收入 0：支出

    private BigDecimal amount;//交易金额

    private Integer number;//交易次数

    private String operateUserName;//操作人

    private String memo;

    private Integer cardTypeId;

    private String cardName;

    private Integer cardType;

    private Integer placeId;

    private Integer opCardConsumeCount;

    private Integer opCardFreqCount;

    private Integer OpCardCount;

    private String src;

    private BigDecimal totalRechargeAmount;

    private BigDecimal totalConsumeAmount;

    private BigDecimal totalAdjustAmount;

    private Integer totalConsumeCount;

    private Integer totalAdjustCount;//次卡调整次数

    private Integer newCardCount;

    private BigDecimal surplusAmount;

    private BigDecimal surplusGiveAmount;

    private Integer surplusNumbers;

    private BigDecimal totalAmount;

    private  Integer memberCount;

    private Integer cityId;

    private String cityName;

    private String placeCode;

    private String placeName;

    private Integer sourceType;//渠道   1：APP，2：微信公众号，3：H5，4：商家端，5：小程序

    private Integer payType;//支付方式

    private String orderNo;//订单号

    private String no;//流水号

    private BigDecimal opAfterAmount;//操作后的本金余额

    private  BigDecimal opAfterGiveAmount;//操作后的赠送余额

    private Integer opAfterNumbers;//操作后的次数

    private Byte businessMode;//营业方式

    public BigDecimal getOpAfterAmount() {
        return opAfterAmount;
    }

    public void setOpAfterAmount(BigDecimal opAfterAmount) {
        this.opAfterAmount = opAfterAmount;
    }

    public BigDecimal getOpAfterGiveAmount() {
        return opAfterGiveAmount;
    }

    public void setOpAfterGiveAmount(BigDecimal opAfterGiveAmount) {
        this.opAfterGiveAmount = opAfterGiveAmount;
    }

    public Integer getOpAfterNumbers() {
        return opAfterNumbers;
    }

    public void setOpAfterNumbers(Integer opAfterNumbers) {
        this.opAfterNumbers = opAfterNumbers;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getPlaceCode() {
        return placeCode;
    }

    public void setPlaceCode(String placeCode) {
        this.placeCode = placeCode;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    List<RespMemberCardOperate> list=new ArrayList<>();

    public List<RespMemberCardOperate> getList() {
        return list;
    }

    public void setList(List<RespMemberCardOperate> list) {
        this.list = list;
    }

    public Integer getNewCardCount() {
        return newCardCount;
    }

    public void setNewCardCount(Integer newCardCount) {
        this.newCardCount = newCardCount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMemberCardTypeName() {
        return memberCardTypeName;
    }

    public void setMemberCardTypeName(String memberCardTypeName) {
        this.memberCardTypeName = memberCardTypeName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMemberCardNo() {
        return memberCardNo;
    }

    public void setMemberCardNo(String memberCardNo) {
        this.memberCardNo = memberCardNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getOperateUserName() {
        return operateUserName;
    }

    public void setOperateUserName(String operateUserName) {
        this.operateUserName = operateUserName;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getCardTypeId() {
        return cardTypeId;
    }

    public void setCardTypeId(Integer cardTypeId) {
        this.cardTypeId = cardTypeId;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }


    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public BigDecimal getTotalRechargeAmount() {
        return totalRechargeAmount;
    }

    public void setTotalRechargeAmount(BigDecimal totalRechargeAmount) {
        this.totalRechargeAmount = totalRechargeAmount;
    }

    public BigDecimal getTotalConsumeAmount() {
        return totalConsumeAmount;
    }

    public void setTotalConsumeAmount(BigDecimal totalConsumeAmount) {
        this.totalConsumeAmount = totalConsumeAmount;
    }

    public BigDecimal getTotalAdjustAmount() {
        return totalAdjustAmount;
    }

    public void setTotalAdjustAmount(BigDecimal totalAdjustAmount) {
        this.totalAdjustAmount = totalAdjustAmount;
    }

    public Integer getTotalConsumeCount() {
        return totalConsumeCount;
    }

    public void setTotalConsumeCount(Integer totalConsumeCount) {
        this.totalConsumeCount = totalConsumeCount;
    }

    public Integer getTotalAdjustCount() {
        return totalAdjustCount;
    }

    public void setTotalAdjustCount(Integer totalAdjustCount) {
        this.totalAdjustCount = totalAdjustCount;
    }

    public Integer getOpCardConsumeCount() {
        return opCardConsumeCount;
    }

    public void setOpCardConsumeCount(Integer opCardConsumeCount) {
        this.opCardConsumeCount = opCardConsumeCount;
    }

    public Integer getOpCardFreqCount() {
        return opCardFreqCount;
    }

    public void setOpCardFreqCount(Integer opCardFreqCount) {
        this.opCardFreqCount = opCardFreqCount;
    }

    public Integer getOpCardCount() {
        return OpCardCount;
    }

    public void setOpCardCount(Integer opCardCount) {
        OpCardCount = opCardCount;
    }

    public BigDecimal getSurplusAmount() {
        return surplusAmount;
    }

    public void setSurplusAmount(BigDecimal surplusAmount) {
        this.surplusAmount = surplusAmount;
    }

    public BigDecimal getSurplusGiveAmount() {
        return surplusGiveAmount;
    }

    public void setSurplusGiveAmount(BigDecimal surplusGiveAmount) {
        this.surplusGiveAmount = surplusGiveAmount;
    }

    public Integer getSurplusNumbers() {
        return surplusNumbers;
    }

    public void setSurplusNumbers(Integer surplusNumbers) {
        this.surplusNumbers = surplusNumbers;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getMemberCount() {
        return memberCount;
    }

    public void setMemberCount(Integer memberCount) {
        this.memberCount = memberCount;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Byte getBusinessMode() {
        return businessMode;
    }

    public void setBusinessMode(Byte businessMode) {
        this.businessMode = businessMode;
    }
}
